.search {
  .search-box {
    display: flex;
    align-items: center;

    .search-btn {
      margin-left: 20rpx;
    }
  }
  .top-search {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 12rpx 24rpx;
    border-radius: 16rpx;
    background-color: #cdcdcd;

    .search-input {
      background-color: transparent;
      margin-left: 20rpx;
      color: #999999;
      font-size: 32rpx;
      line-height: 48rpx;
    }
  }

  .tab {
    margin-top: 18rpx;

    .free-list {
      padding-top: 18rpx;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      width: 100%;
      overflow: hidden;

      .list-item {
        margin-bottom: 20rpx;
        height: max-content;
        width: 48%;

        .courses {
          width: 100%;
          border-radius: 8rpx;
          overflow: hidden;

          image {
            width: 100%;
            height: auto;
          }
        }

        // .courses-title {
        //   font-weight: 500;
        //   font-size: 28rpx;
        //   color: #000000;
        //   line-height: 45rpx;
        //   margin: 8rpx 0;
        //   width: 343rpx;
        // }

        // .courses-tips {
        //   font-size: 24rpx;
        //   color: #666666;
        //   line-height: 38rpx;
        //   width: 300rpx;
        // }

        .courses-organization {
          display: flex;
          align-items: center;
          margin: 8rpx 0;
          width: 343rpx;

          .organization-avatar {
            width: 48rpx;
            height: 48rpx;
            // background: #d9d9d9;
            border-radius: 50%;
            overflow: hidden;

            image {
              width: 100%;
              height: 100%;
            }
          }

          .organization-name {
            font-size: 24rpx;
            color: #999999;
            line-height: 38rpx;
            margin: 0 8rpx;
          }

          .organization-date {
            font-size: 24rpx;
            color: #999999;
            line-height: 38rpx;
            width: 68rpx;
          }
        }

        .courses-price {
          font-weight: 500;
          font-size: 28rpx;
          color: #000000;
          line-height: 45rpx;
        }
      }
    }

    .work-list {
      padding-top: 18rpx;

      .work-item {
        display: flex;
        align-items: center;
        margin-bottom: 20rpx;

        .work-img {
          width: 150rpx;
          margin-right: 30rpx;

          image {
            width: 100%;
            height: auto;
          }
        }

        .work-info {
          height: 150rpx;
          padding: 10rpx 0;
          display: flex;
          flex-direction: column;
          justify-content: space-between;

          .work-name {
            width: 340rpx;
          }

          .work-date {
            color: #808080;
            font-size: 26rpx;
          }
        }
      }

      .work-item:last-child {
        margin-bottom: 0;
      }
    }

    .organizer-list {
      padding-top: 18rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;

      .organizer-item {
        width: 48%;
        // height: 420rpx;
        position: relative;
        margin-bottom: 20rpx;

        .organizer-img {
          width: 100%;
          height: 100%;
          background: #d9d9d9;

          image {
            width: 100%;
          }
        }

        .organizer-info {
          position: absolute;
          left: 24rpx;
          bottom: 24rpx;
          display: flex;
          align-items: center;
          height: 48rpx;
          width: max-content;

          .organizer-avatar {
            width: 48rpx;
            height: 48rpx;
            border-radius: 50%;
            background: #666666;
            overflow: hidden;

            image {
              width: 100%;
              height: 100%;
            }
          }

          .organizer-name {
            font-size: 24rpx;
            color: #000000;
            line-height: 28rpx;
            margin-left: 8rpx;
            width: 136rpx;
          }
        }
      }
    }

    .event-ranking {
      padding-top: 18rpx;

      .event-ranking-item {
        margin-bottom: 38rpx;
      }
      & .event-ranking-item:last-child {
        margin-bottom: 0rpx;
      }

      .item-img {
        width: 702rpx;
        height: 352rpx;
        border-radius: 8rpx;
        margin-bottom: 8rpx;
        background-color: #666666;
        overflow: hidden;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .ranking-name {
        width: 520rpx;
        font-size: 28rpx;
        color: #000000;
        line-height: 33rpx;
      }

      .ranking-tips {
        font-weight: 300;
        font-size: 28rpx;
        color: #666666;
        line-height: 33rpx;
        margin: 8rpx 0;
      }

      .ranking-organization {
        display: flex;
        align-items: center;

        .organization-avatar {
          width: 48rpx;
          height: 48rpx;
          border-radius: 50%;
          overflow: hidden;

          image {
            width: 100%;
            height: 100%;
          }
        }

        .organization-name {
          font-weight: 400;
          font-size: 24rpx;
          color: #000000;
          line-height: 38rpx;
          margin: 0 8rpx;
        }
        .organization-date {
          font-size: 24rpx;
          color: #ff5050;
          line-height: 38rpx;
        }
        .organization-price {
          flex: 1;
          text-align: right;
          font-weight: 500;
          font-size: 28rpx;
          color: #000000;
          line-height: 45rpx;
        }
      }
    }
  }

  .team-leader-info {
    .team-leader-info-item {
      padding-top: 24rpx;
      .info-top {
        display: flex;
        align-items: center;

        .team-leader-avatar {
          width: 80rpx;
          height: 80rpx;
          background: #d9d9d9;
          border-radius: 50%;
          overflow: hidden;

          image {
            width: 100%;
            height: 100%;
          }
        }

        .team-leader-name {
          flex: 1;
          font-weight: 500;
          font-size: 40rpx;
          color: #000000;
          line-height: 46rpx;
          margin-left: 16rpx;
        }

        .private-chat {
          width: 96rpx;
          height: 50rpx;
          border-radius: 76rpx;
          border: 2rpx solid #000000;
          text-align: center;
          color: #000000;
          font-weight: 500;
          font-size: 28rpx;
          line-height: 50rpx;
        }
      }
    }
  }

  .team-leader-item {
    width: 100%;
    position: relative;
    margin-top: 16rpx;
    border-radius: 16rpx;
    overflow: hidden;

    .img {
      width: 702rpx;
      height: 1052rpx;
      background-color: #cdcdcd;

      .item-img {
        width: 100%;
        height: 100%;
      }
    }
  }

  .location-info {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 180rpx;
    left: 24rpx;

    .location-text {
      font-size: 24rpx;
      color: #ffffff;
      line-height: 28rpx;
      width: 200rpx;
    }
  }

  .topic-list {
    position: absolute;
    left: 24rpx;
    bottom: 140rpx;
    width: 580rpx;
    color: #ffffff;

    .topic-item {
      margin-right: 16rpx;
      font-size: 24rpx;
      color: #ffffff;
      line-height: 28rpx;
    }
  }

  .suspension-list {
    position: absolute;
    top: 400rpx;
    right: 0;

    .suspension-item {
      width: 112rpx;
      height: 98rpx;
      padding: 20rpx;
      background: #ffffff;
      box-shadow: 0rpx 0rpx 60rpx 0rpx
        rgba(0, 0, 0, 0.2);
      border-radius: 80rpx;
      text-align: center;
      margin-bottom: 52rpx;
    }

    & .suspension-item:last-child {
      margin-bottom: 0;
    }
  }

  .popular-groups {
    padding-top: 18rpx;

    .group-item {
      margin-bottom: 20rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .group-avatar {
        width: 112rpx;
        height: 112rpx;
        background: #d9d9d9;
        border-radius: 50%;
        margin-right: 16rpx;

        image {
          width: 100%;
          height: 100%;
        }
      }

      .group-info {
        flex: 1;
        height: 112rpx;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .info-name {
          width: 300rpx;
          font-size: 24rpx;
          color: #000000;
          line-height: 28rpx;
        }

        .info-tag {
          color: #ffffff;
          width: 300rpx;
          margin: 8rpx 0;

          .tag-item {
            padding: 4rpx 16rpx;
            background: #999999;
            border-radius: 24rpx;
            font-size: 20rpx;
            color: #ffffff;
            line-height: 23rpx;
            margin-right: 8rpx;
          }

          .tag-item:last-child {
            margin-right: 0;
          }
        }

        .info-tips {
          width: 300rpx;
          font-weight: 500;
          font-size: 28rpx;
          color: #666666;
          line-height: 33rpx;
        }
      }

      .join-now {
        background: #000000;
        padding: 14rpx 20rpx;
        font-size: 24rpx;
        color: #ffffff;
        line-height: 28rpx;
      }
    }
  }
}
